package net.neptech.service;


import net.neptech.dto.order.OrderDTO;
import net.neptech.model.order.OrderMaster;
import net.neptech.model.vo.OrderVo;
import net.neptech.vm.ResponseResult;

public interface OrderService {
    OrderMaster createOrder(OrderDTO orderDTO);

    ResponseResult<Void> deleteOrder(Long id);

    OrderVo getOrderById(Long orderId, Byte typeId);

    ResponseResult<Void> updateOrder(Long id, Byte status);

    ResponseResult<Void> payOrder(OrderDTO orderDTO);
}
